<?php

namespace App\Models;

use App\Helpers\Api\MyCacheTrait;

class News extends Base
{
    use MyCacheTrait;

    public $table = 'news';

    public function category() {
        return $this->belongsTo(Category::class, 'category_id');
    }

}
